package com.aaa.sbm.dao;

import com.aaa.sbm.entity.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface DeptDao {
    int add(Dept dept);
    int deleteById(int deptId);
    int update(Dept dept);
    List<Dept>  queryByParam(Dept dept);
}
